plugins {
    id 'checkstyle'
    id 'application'
}

group = 'hexlet.code'
version = '1.0-SNAPSHOT'
application {
    mainClass = 'hexlet.code.App'
}
repositories {
    mavenCentral()
}
compileJava {
    options.release = 20
}
run {
    standardInput = System.in
}
dependencies {
    testImplementation platform('org.junit:junit-bom:5.9.1')
    testImplementation 'org.junit.jupiter:junit-jupiter'
}

test {
    useJUnitPlatform()
}